import KoaRouter from 'koa-router'
import Page from '../controllers/Page'
import Index from '../controllers/Index'

const router = new KoaRouter()

router.get('/', Page.index)
router.get('/add', Page.add)

router.post('/add', Index.add)

export default router